package com.yedou.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@TableName("t_user")
@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer age;
    private String email;

    // 添加逻辑删除字段
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;
}